module.exports = {
  publicPath: "./",
  devServer: {
    open: true,
    proxy: {
      '/api': {
        // target: 'http://localhost:3000/api/',
        target: 'http://192.168.0.200:21002/api/',
        // target: 'http://192.168.0.200:9008/api/',
        // target: 'http://39.108.13.234:910//api/',
        ws: true,
        changOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      },
      '/file': {
        target: 'http://localhost:3000/file/',
        ws: true,
        changOrigin: true,
        pathRewrite: {
          '^/file': ''
        }
      }
    },
  }
}